package com.example.mntz.dao;

import com.example.mntz.model.Cm;
import com.example.mntz.model.CmExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmMapper {
    long countByExample(CmExample example);

    int deleteByExample(CmExample example);

    int deleteByPrimaryKey(Integer cmId);

    int insert(Cm record);

    int insertSelective(Cm record);

    List<Cm> selectByExample(CmExample example);

    Cm selectByPrimaryKey(Integer cmId);

    int updateByExampleSelective(@Param("record") Cm record, @Param("example") CmExample example);

    int updateByExample(@Param("record") Cm record, @Param("example") CmExample example);

    int updateByPrimaryKeySelective(Cm record);

    int updateByPrimaryKey(Cm record);
}